package com.usian.user.listener;

import com.usian.model.user.dtos.AuthDto;
import com.usian.user.service.ApUserRealnameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


public class UserRealnameListener {

    @Autowired
    private ApUserRealnameService apUserRealnameService;


    public void toAutoUpdateStatus(){
        // 监听Id
        AuthDto authDto = new AuthDto();
        authDto.setId(3);
        apUserRealnameService.autoUpdateStatus(authDto);
    }

}
